package com.study.lession.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.study.lession.domain.LessionTeacherInfo;
import com.study.lession.mapper.ContactMapperTeacher;
import com.study.lession.service.LessionTeacherInfoService;
@Service
public class LessionTeacherInfoServiceImpl implements LessionTeacherInfoService {
	
	@Autowired
	private ContactMapperTeacher mapper;

	@Override
	public int addContact(LessionTeacherInfo lessionTeacherInfo) {
		return mapper.addContact(lessionTeacherInfo);
	}

	@Override
	public int editContact(LessionTeacherInfo lessionTeacherInfo) {
		return mapper.editContact(lessionTeacherInfo);
	}

	@Override
	public int delContact(Long id) {
		return mapper.delContact(id);
	}

	@Override
	public List<LessionTeacherInfo> queryLessionTeacherInfoList(LessionTeacherInfo queryVo) {
		return mapper.queryLessionTeacherInfoList(queryVo);
	}

	@Override
	public LessionTeacherInfo viewContact(Long id) {
		return mapper.viewContact(id);
	}

}
